﻿<%@ Page Title="" Language="C#" MasterPageFile="~/TaoBaiViet.Master" AutoEventWireup="true" CodeBehind="SuaBaiViet.aspx.cs" Inherits="Web_Blog.SuaBaiViet" %>
<%@ Register assembly="FredCK.FCKeditorV2" namespace="FredCK.FCKeditorV2" tagprefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <script type="text/javascript">
        onLoad(function () {
            mySettings.previewTemplatePath = "/scripts/markitup/markitup/templates/preview.html";
            $("#Content").markItUp(mySettings);
        });
    </script>
    <table class="style1">
        <tr>
            <td style="text-align: center; font-weight: bold; font-size: medium; color: #FFFFFF; text-decoration: underline; font-style: italic;">
                Sửa bài viết mới</td>
        </tr>
        <tr>
            <td style="font-weight: bold; font-style: italic;">
                Tiêu đề</td>
        </tr>
        <tr>
            <td>
                <asp:TextBox ID="txt_tieude" runat="server" Width="300px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="font-weight: bold; font-style: italic;">
                Nội dung</td>
        </tr>
        <tr>
            <td>
                <FCKeditorV2:FCKeditor ID="fck_noidung" runat="server" Height="463px" 
                    Width="100%">
                </FCKeditorV2:FCKeditor>
            </td>
        </tr>
        <tr>
            <td style="font-weight: bold; font-style: italic;">
                Thẻ</td>
        </tr>
        <tr>
            <td>
                <asp:TextBox ID="txt_the" runat="server" Width="300px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Button ID="btnSuaBai" runat="server" onclick="btnSuaBai_Click" 
                    Text="Sửa bài" />
            </td>
        </tr>
    </table>
</asp:Content>


